#ifndef inboxListWidget_H_
#define inboxListWidget_H_

/*
#include <QtGui/QListWidget>
#include <QtGui/QListWidgetItem>
#include <QtGui/QLabel>
*/
#include <QtGui>
#include <QtXml>

#include "codec.h"
#include "inboxListData.h"
#include "MessageDialog.h"

#include <iostream>
#include <cstdio>
#include "contactData.h"
using namespace std;



class inboxListWidget : public QListWidget
{
	Q_OBJECT
	public:
//		inboxListWidget(QWidget *parent, contactData *, inboxListData *);
		inboxListWidget(QWidget *parent, contactData *, inboxListData *, inboxListData *);
		~inboxListWidget();
		inboxListData *mInboxListData;
		inboxListData *mTrushListData;
	public slots:
		void updateList();
		void slotItemClicked(QListWidgetItem *);
		void addinbox();//增加一个联系人
	private:
		contactData *mContactData;
};


#endif /* inboxListWidget_H_ */

